trigger MaccuraAuthorizationTrigger on MaccuraAuthorization__c(after insert,after update ,after delete ) {
    
    if(Trigger.isAfter&&Trigger.isDelete)MaccuraAuthorizationHandler.upgradeToAccount(Trigger.old);
    if(Trigger.isAfter&& (Trigger.isUpdate||Trigger.isInsert))MaccuraAuthorizationHandler.upgradeToAccount(Trigger.new);
   
}